<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>群众最喜爱的农家乐评选活动</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<!--标准mui.css-->
		<link rel="stylesheet" href="css/mui.min.css">
		<!--App自定义的css-->
		<link rel="stylesheet" type="text/css" href="css/app.css"/>
			<link rel="stylesheet" type="text/css" href="css/icons-extra.css" />
		<link href="css/main.css" rel="stylesheet">
		<!--<link href="css/app.css" rel="stylesheet">-->
		<script src="js/main.js"></script>
		
		<script src="js/jquery-3.2.1.js"></script>
		<script src="js/vue.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/axios.min.js"></script>

	</head>
	
	<body >	
   
		<nav id="nav" class="mui-bar mui-bar-tab" >
			<a class="mui-tab-item mui-active" href="#tabbar">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item" href="#tabbar-with-chat"   >				
				<span class="mui-icon mui-icon-email"><span class="mui-badge">9</span></span>
				<span class="mui-tab-label">排行榜</span>
			</a>
			<a class="mui-tab-item" href="#tabbar-with-contact">
				<span class="mui-icon mui-icon-search"></span>
				<span class="mui-tab-label">搜索</span>
			</a>
		</nav>
		
		<div class="mui-content" >
			<div id="tabbar" class="mui-control-content mui-active">
				<audio id="player" controls="controls" autoplay="autoplay" hidden="1">你的浏览器不支持audio元素</audio>			
				<div id="slider" class="mui-slider" style="position: relative;z-index:0;">
					
					<div id="dg" style="z-index: 9999; position: fixed ! important; right: 0px; top: 0px;">
						<table width="100%" style="position: absolute; width:260px; right: 0px; top: 0px;">
							<img src="images/yinyue.jpg" id="img" class="image" onclick="timeout ? stopAnim() : startAnim()"  />
						</table>
					</div>
				    
					<div class="mui-slider-group mui-slider-loop">
						<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
						<div class="mui-slider-item mui-slider-item-duplicate">
							<a href="#">
								<img style="height: 200px;" src="images/yuantiao.jpg">
							</a>
						</div>
						<!-- 第一张 -->
						<div class="mui-slider-item">
							<a href="#">
								<img style="height: 200px;" src="images/shuijiao.jpg">
							</a>
						</div>
						<!-- 第二张 -->
						<div class="mui-slider-item">
							<a href="#">
								<img style="height: 200px;" src="images/muwu.jpg">
							</a>
						</div>
						<!-- 第三张 -->
						<div class="mui-slider-item">
							<a href="#">
								<img style="height: 200px;" src="images/cbd.jpg">
							</a>
						</div>
						<!-- 第四张 -->
						<div class="mui-slider-item">
							<a href="#">
								<img style="height: 200px;" src="images/yuantiao.jpg">
							</a>
						</div>
						<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
						<div class="mui-slider-item mui-slider-item-duplicate">
							<a href="#">
								<img style="height: 200px;" src="images/shuijiao.jpg">
							</a>
						</div>
					</div>
					<div class="mui-slider-indicator">
						<div class="mui-indicator mui-active"></div>
						<div class="mui-indicator"></div>
						<div class="mui-indicator"></div>
						<div class="mui-indicator"></div>
					</div>
															
				</div>
		    
		    	<div id="appVote">
			    	<ul class="mui-table-view detail-tpsl" style="border-bottom: 0px solid #CCCCCC; background-color: #white; ">
						<li  class="mui-table-view-cell  " style='float:left;'>
							<div >{{businessCount}}</div>
							<p class='mui-ellipsis'>参与选手</p>
						</li>
						<li class="mui-table-view-cell " style='float:left;border-right: 1px solid #ccc;border-left: 1px solid #ccc;'>
							<div>{{sumVote}}</div>
							<p class='mui-ellipsis' >累计投票</p>
						</li>
						<li class="mui-table-view-cell "   >
								<div>34135</div>
							    <p class='mui-ellipsis'>访问量</p>
						</li>
					</ul>	
		    	</div>

				
				
				<div style="padding-top: 5px;"></div>
				<div id="searchId" style="display: flex; flex-direction: row; height: 40px; align-items:center; background-color:white" onclick="click()">
					<span style="padding-left: 20px;" class="mui-icon mui-icon-search"></span>
					<span style="padding-left: 10px;color:#9a9a9a;" class="mui-tab-label">搜索选项编号或名称</span>
				</div>

				<div style="padding-top: 5px;">
			    	<ul class="mui-table-view detail-tpsl">
						<li  class="mui-table-view-cell  " style='float:left;width:30%;background-color: #C0C0C0;height:64px;'>
							<div>
								<a href="#middlePopover"><span class="mui-icon-extra mui-icon-extra-dictionary"></span></a>
								<p style="color: #007aff;">活动介绍</p>								
							</div>

							
						</li>
						
						<li class="mui-table-view-cell " style='width:70%;background-color: #F0F0F0;height:64px;'>
								<div>
									<span class="mui-icon-extra mui-icon-extra-outline"></span>
									<span>活动已结束</span>
								</div>
							    <p class='mui-ellipsis'>00天 00时 00秒</p>
						</li>
					</ul>	
		    	</div>
				<div id="sliderlist" class="mui-slider">
					<div id="sliderSegmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
						<a class="mui-control-item" href="#item1mobile">
							默认排序
						</a>
						<a class="mui-control-item" href="#item2mobile">
							最新参与
						</a>
						<a class="mui-control-item" href="#item3mobile">
							人气排行
						</a>
					</div>
					<div id="sliderProgressBar" class="mui-slider-progress-bar mui-col-xs-4"></div>
					<div class="mui-slider-group">
						<div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
							<div id="scroll1" class="mui-scroll-wrapper">
							<div class="mui-scroll">
								
								<div id="app">
										<ul class="mui-table-view mui-grid-view">
											<li  v-for="(b, index)  in businessList" class="mui-table-view-cell mui-media mui-col-xs-6" >
									            <a href="javascript:;"  @click="app.detail(index)">
									                <img class="mui-media-object" :src="b.picList[0].picUrl">
									                <div  style="font-size: 12px;width:100%;height: 24px;"><span class="mui-badge" > {{ b.id }}</span> &nbsp;<span > {{ b.business_name }}</span></div></a>
									                <div ><button type="button"    @click="app.addvote(index)" class="mui-btn-primary  mui-icon-extra mui-icon-extra-heart" style="font-size: 10px;width:100%;height: 24px;">投票</button></div>
									         
									        </li>
											
										 </ul>
									 </div>
							 </div>
							</div>
						</div>
						<div id="item2mobile" class="mui-slider-item mui-control-content">
							<div id="scroll2" class="mui-scroll-wrapper">
								<div class="mui-scroll">
									<div id="app2">
										<ul class="mui-table-view mui-grid-view">
											<li  v-for="(b, index)  in businessList" class="mui-table-view-cell mui-media mui-col-xs-6" >
									             <a href="javascript:;"  @click="app.detail(index)">
									                <img class="mui-media-object" :src="b.picList[0].picUrl">
									                <div  style="font-size: 12px;width:100%;height: 24px;"><span class="mui-badge" > {{ b.id }}</span> &nbsp;<span > {{ b.business_name }}</span></div></a>
									                <div ><button type="button"    @click="app.addvote(index)" class="mui-btn-primary  mui-icon-extra mui-icon-extra-heart" style="font-size: 10px;width:100%;height: 24px;">投票</button></div>
									         
									        </li>
											
										 </ul>
									 </div>
										
								</div>
							</div>
	
						</div>
						<div id="item3mobile" class="mui-slider-item mui-control-content">
							<div id="scroll3" class="mui-scroll-wrapper">
								<div class="mui-scroll">
									<div id="app3">
										<ul class="mui-table-view mui-grid-view">
											<li  v-for="(b, index)  in businessList" class="mui-table-view-cell mui-media mui-col-xs-6" >
									              <a href="javascript:;"  @click="app.detail(index)">
									                <img class="mui-media-object" :src="b.picList[0].picUrl">
									                <div  style="font-size: 12px;width:100%;height: 24px;"><span class="mui-badge" > {{ b.id }}</span> &nbsp;<span > {{ b.business_name }}</span></div></a>
									                <div ><button type="button"    @click="app.addvote(index)" class="mui-btn-primary  mui-icon-extra mui-icon-extra-heart" style="font-size: 10px;width:100%;height: 24px;">投票</button></div>
									         
									        </li>
											
										 </ul>
									 </div>
								</div>
							</div>
	
						</div>
					</div>
				</div>			
			</div>
			
			
			<div id="tabbar-with-chat" class="mui-control-content">
				
				<div style=" margin:0 auto;text-align:center;">
					<img style="height: 200px; width: 300px;" src="images/paihangbang.png">
					<div>投票排行榜</div>
				</div>
			  
				<div id="appPaihangbang">
					<ul class="mui-table-view">
						<li v-for="(b, index)  in businessList" class="mui-table-view-cell mui-media">
							<a href="javascript:;"  @click="appPaihangbang.detail(index)">
								<img style="border-radius: 30px;" class="mui-media-object mui-pull-left" :src="b.picList[0].picUrl">
								<div class="mui-media-body">
									{{ b.id }}{{ b.business_name }}
									<p class='mui-ellipsis' style="color: #007AFF;">{{ b.numberOfVote }}票</p>
								</div>
								<span class="mui-badge mui-badge-warning">{{index+1}}</span>
							</a>
						</li>						
					</ul>					
				</div>
				
			</div>
			
			
			<div id="tabbar-with-contact" class="mui-control-content">

				<div id="appsearch" >
					<h5>开始搜索吧</h5>
					<div class="mui-input-row mui-search">
						<input type="search"  v-model='searchModel'  class="mui-input-clear" placeholder="请输入名称或编号">
					</div>
	
					<ul class="mui-table-view" v-if="searchData.length > 0">
					<li v-for="(b, index) in searchData" class="mui-table-view-cell mui-media">
					<a href="javascript:;"  @click="appsearch.detail(index)">
						<img style="border-radius: 30px;" class="mui-media-object mui-pull-left" :src="b.picList[0].picUrl">
						<div class="mui-media-body">
							{{ b.business_name }}
							<p class='mui-ellipsis' style="color: #007AFF;">{{ b.numberOfVote }}票</p>
						</div>
						<span class="mui-badge mui-badge-warning">{{index+1}}</span>
					</a>
					</li>						
					</ul>	
					
					<div v-else>暂无数据</div>
				</div>
			</div>	
			
		
		</div>
	
		<div id="middlePopover" class="mui-popover">
			<div class="mui-popover-arrow"></div>
			<div class="mui-scroll-wrapper">
				<div class="mui-scroll">
					<h5 style="text-align: center;"><span class="mui-icon-extra mui-icon-extra-dictionary" style="width:10px;height: 10px;"></span></h5>
					<h5 style="text-align: center;font-size:12px;">投票须知</h5>
					<p style="font-size: 10px;text-indent: 22px;">
					<span  >为培育饶河县乡村旅游发展主体，提升“农家乐”管理和服务水平，全力打造乡村旅游特色品牌，强化“农家乐”在旅游产业发展和农民脱贫过程中示范带动作用，饶河县旅游局特举办“群众最喜爱的农家乐”评选活动。此次评选活动旨在培育和壮大饶河县乡村旅游发展主体，切实提升“农家乐”服务质量和管理水平，按照“部门主导、多元参与、突出特色、打造品牌”原则，加强组织引导，积极动员社会力量，盘活乡村资源，打造不同风格的农家乐品牌，促进全县乡村旅游业快速发展。本次评选活动，经严格初选，共有19家优质农家乐入围此次评选。评选已拉开序幕，网友可通过饶河旅游局微信公众平台参与投票评选，投票时间2018.06.20—2018.06.30。每人每天一票，大家赶紧动起手指，速速转发，为您最爱的农家乐投上宝贵的一票吧！
					</span>
					</p>
				</div>
			</div>
		</div>
	</body>
	<script src="js/mui.min.js"></script>
					<script src="js/main-vue.js"></script>
	<script>
	
		
	</script>
	

</html>